package com.qiaofang.dataprocessing.dao.impl;

import com.qiaofang.dataprocessing.dao.EmployeeDao;
import com.qiaofang.dataprocessing.dao.domain.EmpIdUuid;
import com.qiaofang.dataprocessing.dao.mapper.EmployeeMapper;
import com.qiaofang.dataprocessing.stub.bean.EmpSupplementDTO;
import com.qiaofang.dataprocessing.stub.bean.EmployeeCountDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company qiaofang
 * @date 2020/11/18 17:25
 */
@Repository("employeeDao")
public class EmployeeDaoImpl implements EmployeeDao {
    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public List<EmpIdUuid> getEmpIdUuidList() {
        return employeeMapper.getEmpIdUuidList();
    }

    @Override
    public List<String> getInspectionOrder(String propertyUuid, Integer size) {
        return employeeMapper.getInspectionOrder(propertyUuid, size);
    }

    @Override
    public List<String> getFollowOrder(String propertyUuid, Integer size) {
        return employeeMapper.getFollowOrder(propertyUuid, size);
    }

    @Override
    public List<String> getSurveyOrder(String propertyUuid, Integer size) {
        return employeeMapper.getSurveyOrder(propertyUuid, size);
    }

    @Override
    public List<EmpSupplementDTO> getAllEmpSupplement() {
        return employeeMapper.getAllEmpSupplement();
    }

    @Override
    public List<String> getDimissionEmpUuid() {
        return employeeMapper.getDimissionEmpUuid();
    }

    @Override
    public List<EmployeeCountDTO> getInspectionCountList() {
        return employeeMapper.getInspectionCountList();
    }

    @Override
    public List<EmployeeCountDTO> getTransactionCountList() {
        return employeeMapper.getTransactionCountList();
    }
}
